package com.caochenlei.tree.avl;

public class AdelsonVelskyLandisTreeTest {
    public static void main(String[] args) {
        AdelsonVelskyLandisTree<Integer, Integer> avlt = new AdelsonVelskyLandisTree<>();
        avlt.put(1, 1);
        avlt.put(2, 2);
        avlt.put(3, 3);
        avlt.put(4, 4);
        avlt.put(5, 5);
        avlt.put(6, 6);
        avlt.put(7, 7);
        avlt.put(8, 8);
        avlt.put(9, 9);
        avlt.put(10, 10);
        avlt.put(11, 11);
        avlt.put(12, 12);

        avlt.delete(1);
        avlt.delete(3);
        avlt.delete(5);
        avlt.delete(7);
        avlt.delete(9);
        avlt.delete(11);
        avlt.layerErgodic();
    }
}
